package com.applet.message.problem.domain;

import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.applet.common.annotation.Excel;
import com.applet.common.core.domain.BaseEntity;

/**
 * 问题反馈处理对象 problem
 *
 * @author ruoyi
 * @date 2024-09-26
 */
public class Problem extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键",dataType = "Long")
    private Long id;

    /**
     * 问题反馈者id
     */
    @ApiModelProperty(value = "问题反馈者id",dataType = "Long")
    @Excel(name = "问题反馈者id")
    private Long userId;

    /**
     * 处理问题用户id
     */
    @ApiModelProperty(value = "处理问题用户id",dataType = "Long")
    @Excel(name = "处理问题用户id")
    private Long processUserId;

    /**
     * 问题标题
     */
    @ApiModelProperty(value = "问题标题",dataType = "String")
    @Excel(name = "问题标题")
    private String title;

    /**
     * 问题内容描述
     */
    @ApiModelProperty(value = "问题内容描述",dataType = "String")
    @Excel(name = "问题内容描述")
    private String problemText;


    /**
     * 问题编号
     */
    @ApiModelProperty(value = "问题编号",dataType = "String")
    @Excel(name = "问题编号")
    private String questionNumber;

    /**
     * 回复内容
     */
    @ApiModelProperty(value = "回复内容",dataType = "String")
    @Excel(name = "回复内容")
    private String replyText;

    /**
     * 处理状态: 0未处理 1已处理
     */
    @ApiModelProperty(value = "处理状态(0未处理 1已处理)",dataType = "Integer")
    @Excel(name = "处理状态: 0未处理 1已处理")
    private Integer processStatus;

    /**
     * 联系电话
     */
    @ApiModelProperty(value = "联系电话",dataType = "String")
    @Excel(name = "联系电话")
    private String phonenumber;

    /**
     * 问题反馈的图片路径关联信息
     */
    @ApiModelProperty(value = "问题反馈的图片路径关联信息",dataType = "List")
    private List<ProblemImage> problemImageList;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setProcessUserId(Long processUserId) {
        this.processUserId = processUserId;
    }

    public String getQuestionNumber() {
        return questionNumber;
    }

    public void setQuestionNumber(String questionNumber) {
        this.questionNumber = questionNumber;
    }

    public Long getProcessUserId() {
        return processUserId;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setProblemText(String problemText) {
        this.problemText = problemText;
    }

    public String getProblemText() {
        return problemText;
    }

    public void setReplyText(String replyText) {
        this.replyText = replyText;
    }

    public String getReplyText() {
        return replyText;
    }

    public void setProcessStatus(Integer processStatus) {
        this.processStatus = processStatus;
    }

    public Integer getProcessStatus() {
        return processStatus;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public List<ProblemImage> getProblemImageList() {
        return problemImageList;
    }

    public void setProblemImageList(List<ProblemImage> problemImageList) {
        this.problemImageList = problemImageList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("processUserId", getProcessUserId())
                .append("title", getTitle())
                .append("problemText", getProblemText())
                .append("replyText", getReplyText())
                .append("processStatus", getProcessStatus())
                .append("questionNumber", getQuestionNumber())
                .append("phonenumber", getPhonenumber())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("problemImageList", getProblemImageList())
                .toString();
    }
}
